package com.chf.job.dao;

import com.chf.job.pojo.OpenService;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface OpenServiceMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(OpenService record);

    int insertSelective(OpenService record);

    OpenService selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(OpenService record);

    int updateByPrimaryKey(OpenService record);

    OpenService getByRegisterEmail(String email);

    int updateByVerifyEmail(@Param("companyName") String companyName, @Param("email") String email);

    int updateServiceStatus(String email);
}